﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using WXDba.Entity;
namespace WXDba.Abstract
{
    /// <summary>
    /// 月饼统计
    /// </summary>
    public interface IYueBing
    {
        /// <summary>
        /// 添加对象
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        bool Add(YueBing model);
        /// <summary>
        /// 获取喜欢，不喜欢个数
        /// </summary>
        /// <param name="Title"></param>
        /// <returns></returns>
        int GetCount_Like(string Title, bool IsLike);
        /// <summary>
        /// 获取是否吃过，个数
        /// </summary>
        int GetCount_Eat(string Title, bool IsEat);
    }
}
